/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.synjones.zeuscloudapp.util;


import com.synjones.zeus.model.ExReqBean;

/**
 *
 * @author tnnan
 */
public class BeanReqUtil {
    
    public static ExReqBean copyFrom(ReqBean bean) {
        ExReqBean reqBean = new ExReqBean();
        reqBean.setOrganizationCode(bean.getOrganizationCode());
        reqBean.setMagic(bean.getMagic());
        reqBean.setTicket(bean.getIplanetdirectorypro());
        reqBean.setDeviceInfo(bean.getClientMark());
        reqBean.setImei(bean.getImei());
        reqBean.setImsi(bean.getImei());
        reqBean.setIp(bean.getClientIp());
        return reqBean;
    }
}
